x86/pv: Replace do_guest_trap() with pv_inject_hw_exception()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 15 May 2017 12:15:21 +0000 (13:15 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 May 2017 17:50:13 +0000 (18:50 +0100)
commit7b5cb2f18e9b98f930f78b64a0f0a3b45139aa53
treeba3eb6a1dcfe384450ab4576cac75eaa8a24c093
parent49df30c39b4db7be8d0c05a0d9efb529b68d275a
x86/pv: Replace do_guest_trap() with pv_inject_hw_exception()

do_guest_trap() is now functionally equivalent to pv_inject_hw_exception(),
but with a less useful API as it requires the error code parameter to be
passed implicitly via cpu_user_regs.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c